Introduction To CSS

CSS stands for Cascading Style Sheets. It is a stylesheet language that is used to describe the visual presentation of a web page written in HTML (Hypertext Markup Language).HTML creates the structure of the page, while CSS adds styling to that structure.

HTML Was Never Intended To Style It Is Used To Just Structure The Website.And Let CSS Do The Whole Styling.

Let's Start Css:

Hey I'm Muhammad Hassan And Today I'm In Mood Of CSS.

In Above Example I Have Used A Div Tag And Styled It With Internal CSS Like This:

        
    <head>
        <style>
            div{
                color: yellow;
            } 
        </style>
    </head>
        
    

So Here We Used Internal CSS With Style Tag div Is Called A Selector Here And We Put Curly Braces Then Color Is The Property And Yellow Is Its Value, The Property And Value Together Are A Declaration.

CSS Is Almost All About Selector For Elements Like Div Span Or Any And Property Then Value With In Declaration.